<!DOCTYPE html>
<html lang="vn">
<head>
    <?php echo $this->headTitle() ?>
   	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   	<?php echo $this->headMeta() ?>
   	<?php echo $this->headLink() ?>
</head>
<body>
	<br/>
    <div class="container" style="width:740px;">
    <?php
      $container = new Zend_Navigation();
      $this->navigation($container);
      $container->addPage(
          array(
              'label'      => 'Trang chủ blog',
              'module'     => 'user',
              'controller' => 'index',
              'action'     => 'index',
              'pages'      =>
              array(
                  array(
                    'label'      => 'Thông báo',
                    'module'     => 'user',
                    'controller' => 'error',
                    'action'     => 'index'                   
                  ),
                  array(
                      'label'      => 'Danh sách blog',
                      'module'     => 'user',
                      'controller' => 'blog',
                      'action'     => 'index',
                      'params'     => array( 'usid' => $this->usid),
                      'pages' => array(
                          array(
                              'label'      => 'Blog - '.$this->bTitle,
                              'module'     => 'user',
                              'controller' => 'blog',
                              'action'     => 'detail',
                              'params'     => array( 'bid' => $this->bid)
                          ),
                          array(
                              'label'      => 'Viết blog',
                              'module'     => 'user',
                              'controller' => 'blog',
                              'action'     => 'add'
                          ),
                          array(
                              'label'      => 'Sửa blog',
                              'module'     => 'user',
                              'controller' => 'blog',
                              'action'     => 'edit',
                              'params'     => array( 'bid' => $this->bid)
                          )
                      )
                  )
              )
          )
      );      
    ?>      
    <?php echo $this->navigation()->breadcrumbs()->setLinkLast(false)->setMinDepth(0)->setPartial(array('_breadcrumb.phtml','user'));?>
      <div class="row-fluid">
         <?php echo $this->layout()->content ?>       
      </div><!--/row-->

      <hr style="margin-top:0;">

      <footer>
        <p>&copy; SAIO BLOG 2013</p>
      </footer>

    </div>
   	<?php echo $this->headScript() ?>	
</body>
</html>